import React from 'react';
import PropTypes from 'prop-types';
import './index.css';

const Select = ({
	arr,
}) => (
	<select name="" id="" className="selected" >
	    {
	    	arr.map((item, index) => (
				<option value="" key={index}>
					{ item }
				</option>
    		))
	    }
	</select>
)



Select.propTypes = {
	arr: PropTypes.array,
}

export default Select;